package cn.wolfcode.service;

import cn.wolfcode.domain.Notice;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INoticeService {
    void delete(Long id);

    void insert(Notice notice);

    Notice selectByPrimaryKey(Long id);

    List<Notice> selectAll();

    void update(Notice notice);

    PageInfo<Notice> query(QueryObject qo);

    PageInfo<Notice> selectIsRead(PageInfo pageInfo);

    void show(Long id);
}
